//
//  AppDelegate.swift
//  新浪微博第一天
//
//  Created by 张志卓 on 15/11/3.
//  Copyright © 2015年 张志卓. All rights reserved.
//

import UIKit

@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {

    var window: UIWindow?


    func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
        //设置window大小
        window = UIWindow(frame: UIScreen.mainScreen().bounds)
        //设置window颜色
        window?.backgroundColor = UIColor .whiteColor()
        //设置根控制器
        window?.rootViewController = MainViewController()
        //让window可见
        window?.makeKeyAndVisible()
        
      
        return true
    }

  


}

